<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>   
  <link rel="shortcut icon" href="${ctx}/images/eclipse.ico"/>
    <title>${message.vcTitle}</title>
    <script type="text/javascript">
		$(function(){
	 $('#tabs').tabs();
});
</script>
<style type="text/css">
.ui-tabs { padding: .2em; zoom: 1; }
.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0;background:#2060E6 }
.ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; }
.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: #2060E6; }
.ui-tabs .ui-tabs-hide { display: none !important; }
</style>
  </head>
  
  <body>
  <div id="tabs">
  <ul>
	<li>
		<a href="#tabs-1">我收到的短消息</a>
	</li>
  </ul>
  </div>
  <div id="tabs-1">
  <form action="${ctx}/message/message/save.htm" method="post">
  <input type="hidden" name="reciveUserId" value="${message.nuSendUserId}"/>
    <table width=100% border="0px">
       <tr>
         <td>消息标题:&nbsp;&nbsp;&nbsp;${message.vcTitle}</td>
         </tr>
         <input type="hidden" value="${message.vcTitle}" name="message.vcTitle"/>
         <tr onmouseover="this.bgColor='#fffaf2';"
							onmouseout="this.bgColor=''" >
         <td colspan=2 align=left>内容:<br>&nbsp;&nbsp;&nbsp;${message.vcContent}</td>
       </tr>
       <tr>
         <td>消息发送人:${pubUserIntegral.vcBaseUser.user.vcUsername}</td><td>发送日期:<fmt:formatDate pattern= "yyyy-MM-dd" value= "${message.date}"/></td>
       </tr>
      <c:if test="${flag==false}">
         <tr>
           <td colspan=2><textarea style="border:1px solid" name="content" rows="7" cols="80">回复:${message.vcContent}</textarea></td>
        </tr>
        <tr>
          <td colspan=2><input type="submit" value="回复"/></td>
       </tr>
      </c:if>
      <tr>
       <td colspan="2" align=right><font size=2><a href="${ctx}/users/message?areaId=${baseArea.nuId}">返回列表</a></font></td>
      </tr>
    </table>
    </form>
    </div>
  </body>
</html>
